// ENUM_ITEM(_Type, _Name, _Size, _Elements, _TypeFlag, _OpenGLFormat, _D3D9Format, _D3D10Format)

ENUM_ITEM(Index, Int_16, 	16,  1, TypeFlagNone, 	    GL_SHORT, 		   0, 0)
ENUM_ITEM(Index, Int_32, 	32,  1, TypeFlagNone, 	    GL_INT,   		   0, 0)

ENUM_ITEM(Vertex, Float,		4,	 1, TypeFlagNone, 	    GL_FLOAT, 		   0, 0)
ENUM_ITEM(Vertex, Float2,	8,	 2, TypeFlagNone, 	    GL_FLOAT, 		   0, 0)
ENUM_ITEM(Vertex, Float3,	12,	 3, TypeFlagNone, 	    GL_FLOAT, 		   0, 0)
ENUM_ITEM(Vertex, Float4,	16,	 4, TypeFlagNone, 	    GL_FLOAT, 		   0, 0)
ENUM_ITEM(Vertex, Short2n,	4,	 2, TypeFlagNormalized, GL_UNSIGNED_SHORT, 0, 0)
ENUM_ITEM(Vertex, Short4n,	8,	 4, TypeFlagNormalized, GL_UNSIGNED_SHORT, 0, 0)
ENUM_ITEM(Vertex, Byte4n,	4,	 4, TypeFlagNormalized, GL_UNSIGNED_BYTE,  0, 0)

ENUM_ITEM(Pixel, Mono_8,		8,   1, TypeFlagNone, 	    GL_LUMINANCE8,						D3DFMT_L8,			  DXGI_FORMAT_R8_UINT)
ENUM_ITEM(Pixel, RGB_16,		16,  3, TypeFlagNone, 	    GL_RGB4,							D3DFMT_R5G6B5,		  DXGI_FORMAT_R4G4B4_UINT)
ENUM_ITEM(Pixel, RGB_24,		24,  3, TypeFlagNone, 	    GL_RGB8,							D3DFMT_R8G8B8,		  DXGI_FORMAT_R8G8B8_UINT)
ENUM_ITEM(Pixel, RGBA_16,	32,  4, TypeFlagNone, 	    GL_RGBA4,							D3DFMT_A4R4G4B4,	  DXGI_FORMAT_R4G4B4A4_UINT)
ENUM_ITEM(Pixel, RGBA_32,	32,  4, TypeFlagNone, 	    GL_RGBA8,							D3DFMT_A4R4G4B4,	  DXGI_FORMAT_R8G8B8A8_UINT)
ENUM_ITEM(Pixel, DXT1,		24,  3, TypeFlagNone, 	    GL_COMPRESSED_RGB_S3TC_DXT1_EXT,	D3DFMT_DXT1,		  DXGI_FORMAT_BC1_UNORM)
ENUM_ITEM(Pixel, DXT1A,		32,  4, TypeFlagNone, 	    GL_COMPRESSED_RGBA_S3TC_DXT1_EXT,	D3DFMT_DXT1,		  DXGI_FORMAT_BC1_UNORM)
ENUM_ITEM(Pixel, DXT3,		32,  4, TypeFlagNone, 	    GL_COMPRESSED_RGBA_S3TC_DXT3_EXT,	D3DFMT_DXT3,		  DXGI_FORMAT_BC3_UNORM)
ENUM_ITEM(Pixel, DXT5,		32,  4, TypeFlagNone, 	    GL_COMPRESSED_RGBA_S3TC_DXT5_EXT,	D3DFMT_DXT5,		  DXGI_FORMAT_BC5_UNORM)
ENUM_ITEM(Pixel, RGBAF_16,	64,  4, TypeFlagFloat,  	GL_RGBA16F_ARB,						D3DFMT_A16B16G16R16F, DXGI_FORMAT_R16B16G16A16_FLOAT)
ENUM_ITEM(Pixel, RGBAF_32,	128, 4, TypeFlagFloat,  	GL_RGBA32F_ARB,						D3DFMT_A32B32G32R32F, DXGI_FORMAT_R32B32G32A32_FLOAT)
ENUM_ITEM(Pixel, Float_16,	16,  1, TypeFlagFloat,  	GL_LUMINANCE16F_ARB,				D3DFMT_R16F,		  DXGI_FORMAT_R16_FLOAT)
ENUM_ITEM(Pixel, Float_32,	32,  1, TypeFlagFloat,  	GL_LUMINANCE32F_ARB,				D3DFMT_R32F,		  DXGI_FORMAT_R32_FLOAT)
ENUM_ITEM(Pixel, Depth_16,	16,  1, TypeFlagFloat,  	GL_DEPTH_COMPONENT16,				D3DFMT_D16,			  DXGI_FORMAT_D16_FLOAT)
ENUM_ITEM(Pixel, Depth_24,	24,  1, TypeFlagFloat,  	GL_DEPTH_COMPONENT24,				D3DFMT_D24S8,		  DXGI_FORMAT_D24_UNORM_S8_UINT)
ENUM_ITEM(Pixel, Depth_32,	32,  1, TypeFlagFloat,  	GL_DEPTH_COMPONENT32,				D3DFMT_D32,			  DXGI_FORMAT_D32_FLOAT)
